<?php

require_once(APPPATH.'third_party/tcpdf/tcpdf.php');

class PDF extends TCPDF{
    
//    public function Header(){
//        $image_file = K_PATH_IMAGES . "email.png";
//        $this->Image($image_file, 10, 10, 15, '', 'PNG', '', 'T', true, 300, '', false, false, 0, false, false, false);
//        $this->SetFont("times", 'B', 20);
//        $this->Cell(0, 15, PDF_HEADER_STRING, 0, false, 'C', 0, '', 0, false, 'M', 'M');
//    }
    
    public function Footer(){
        $this->SetY(-15);
        $this->SetFont("times", 'I', 20);
        $this->Cell(0, 10, 'ASP FOOTER '.$this->getAliasNumPage() / $this->getAliasNbPages(), 0, false, 'C', 0, '', 0, false, 'T', 'M');
    }
    
}

?>
